
.qf-modal-layer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,.5);
  font-size: 14px;
  .qf-modal {
    width: 520px;
    position: absolute;
    top: 100px;
    left: 50%;
    margin-left: -260px;
    background-color: white;
    border-radius: 3px;
    box-sizing: border-box;
  }
  .header {
    line-height: 50px;
    box-sizing: border-box;
    padding: 0 20px;
    font-weight: 700;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    .close {
      float: right;
      cursor: pointer;
    }
  }
  .body {
    padding: 20px;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 20px;
  }
  .footer {
    height: 50px;
    border-top: 1px solid #eee;
    overflow: hidden;
    box-sizing: border-box;
    text-align: right;
    padding: 0 20px;
    &>span {
      cursor: pointer;
      display: inline-block;
      margin-left: 8px;
      line-height: 28px;
      border: 1px solid transparent;
      font-size: 12px;
      padding: 0 20px;
      border-radius: 5px;
      margin-top: 10px;
    }
    &>span.primary {
      background-color: blue;
      color: white;
      border-color: blue;
    }
    &>span.default {
      background-color: white;
      border-color: #eee;
    }
    &>span.danger {
      color: red;
      border-color: red;
    }
  }
}

// primary | ghost | dashed | link | text | default
